﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PojProject.Others
{
    class BellmanFord
    {
        private List<Edge> edges;
        public List<Edge> Edges
        {
            get
            {
                if (edges == null)
                {
                    edges = new List<Edge>();
                }

                return edges;
            }
        }

        private List<double> nodeWeights;
        public List<double> NodeWeights
        {
            get 
            {
                if (nodeWeights ==null)
                {
                    nodeWeights = new List<double>();
                }

                return nodeWeights;
            }
        }

        public BellmanFord(List<Edge> dataSource)
        {
            Edges.AddRange(dataSource);

            
        }

        public void Play()
        {

        }
    }


}
